// @import './themes/green-theme.less';
// @import './themes/orange-theme.less';
// @import './themes/pink-theme.less';
// @import './themes/red-theme.less';
// @import './themes/purple-theme.less';
// @import './themes/cyan-theme.less';
@import './tdesign.less';

#root {
  display: block;
  width: 100%;
  height: 100%;
  font-family: unset;
}

html[theme-mode="default"] {
  @import './themes/default-theme.less';
}

html[theme-mode="green"] {
  @import './themes/green-theme.less';
}

html[theme-mode="orange"] {
  @import './themes/orange-theme.less';
}

html[theme-mode="pink"] {
  @import './themes/pink-theme.less';
}

html[theme-mode="red"] {
  @import './themes/red-theme.less';
}

html[theme-mode="purple"] {
  @import './themes/purple-theme.less';
}

html[theme-mode="cyan"] {
  @import './themes/cyan-theme.less';
}


html,
body,
#root,
.aio,
.aio-layout {
  width: 100%;
  height: 100%;
  color: @app-main-font-color;
}

body {
  font-family: unset !important;
}

html,
body,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

.ka-wrapper,
.ka-content {
  width: 100%;
  height: 100%;
  overflow: visible;
}

// 组件样式

.page-list {
  .semi-page {
    margin-top: 24px;
    justify-content: flex-end;
  }
}

.semi-input-textarea {
  font-family: unset !important;
}

// 子应用 app 样式
.app {
  width: 100%;
  height: 100%;
  display: flex;

  &::before {
    content: '';
    display: flex;
    height: 0px;
  }

  .content {
    flex: 1;
    overflow: auto;
    padding: 0 32px 32px;

    .content-wrapper {
      margin-top: 30px;
      border-radius: 5px;
      padding: 16px;
      box-shadow: 0 0 10px #CCCCCC;
    }
  }
}

// bilibili通用样式
.bl-upCardBlock {
  .bl-upCard {
    display: flex;
    padding: 10px;
  }

  .bl-upDesc {
    margin-left: 20px;
    display: flex;
    gap: 6px;
    flex-direction: column;
    justify-content: space-around;
    width: 278px;
  }

  .bl-upStat {
    display: flex;
    font-size: 13px;
  }

  .bl-upSign {
    word-break: break-all;
    margin-bottom: 6px;
  }
}

.bl-upName {
  font-size: 15px;
  margin-right: 15px;
  font-weight: 600;
  transition: color 0.3s;

  &:hover {
    .bl-linkHover()
  }
}

.bl-graySmallPrint {
  color: #bbb;
  font-size: 14px;
  margin-right: 15px;
}

.bl-linkHover {
  cursor: pointer;
  color: rgb(82, 200, 226);
}

.bl-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #ccc;

  &:hover {
    cursor: pointer;
  }
}
